home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dskut / filextrt.zip / README < prev   
Text File  |  1991-10-21  |  1KB  |  27 lines

  1. Here is a useful little program I just wrote.  It is freeware.
  2.  
  3. This program lets you extract a block of bytes from a file.  It puts
  4. these bytes into another file.  The use is fairly obvious, just run the
  5. program, FILEXTRT, with no param for help.
  6.  
  7. I am enclosing C source and DOS executalbe, it will compile on DOS
  8. (Turbo C) or on Unix.  When compiling on DOS, make sure the variable
  9. MSDOS is defined for the C comiple! Nothing special is needed for the
  10. Unix compile.
  11.  
  12. I wrote this when a I tried to download a 600K file from a remote
  13. system.  Even at 9600 bps this takes awhile.  After 593K the phone lines
  14. died.  I needed a program to split off the last few potentially bad
  15. bytes from what was already downloaded and to extract the 7K bytes from
  16. the file end.
  17.  
  18. Some precautions.  After downloading and recombining do a sum -r on both
  19. sides.  (I posted a Unix compatible DOS sum -r program last year).  Also
  20. to combine files on DOS use the "/b" option:
  21.  
  22.         copy /b FILE1 + FILE2 + ... + FILEN  FILE.ALL
  23.  
  24. Richard Marks
  25. rmarks@MDC.unisys.COM
  26.  
  27.